//
//  CCQRCode.h
//  CCKit
//
//  Created by  on 2020/12/30.
//  Copyright © 2020 tucici. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN

@interface CCQRCode : NSObject

/// 链接生成二维码
/// @param url 链接
+ (UIImage *)QRCode:(NSString *)url withSize:(CGSize)size;


/// 生成条形码
/// @param text 内容
+ (UIImage *)barCode:(NSString *)text withSize:(CGSize)size;
@end

NS_ASSUME_NONNULL_END
